package com.dnjn.happiness.emo.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 消费记录对象 emo_user_record_pos
 * 
 * @author happiness
 * @date 2024-03-13
 */
@Schema(name = "EmoUserRecordPos", description = "消费记录")
@Accessors(chain = true)
@ToString
@Getter
@Setter
public class EmoUserRecordPosVO  implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** PK */
    private Long id;

    /** sys_user.user_id */
    @Schema(description = "sys_user.user_id")
    private Long userId;

    /** 人员编号 */
    @Schema(description = "人员编号")
    private String empno;

    /** 订单号 */
    @Schema(description = "订单号")
    private String uniqueId;

    /** 卡号 */
    @Schema(description = "卡号")
    private String cardId;

    /** 钱包 */
    @Schema(description = "钱包")
    private String secId;

    /** 商户ID */
    @Schema(description = "商户ID")
    private String bizOrgId;

    /** 商户名称（消费地点） */
    @Schema(description = "商户名称")
    private String bizOrgName;

    /** 设备ID */
    @Schema(description = "设备ID")
    private String devId;

    /** 餐段 eg. 午段 */
    @Schema(description = "餐段 eg. 午段")
    private String mealType_name;

    /** 消费时间 */
    @Schema(description = "消费时间")
    private Date posDay;

    /** 消费金额 */
    @Schema(description = "消费金额")
    private BigDecimal posMoney;

    /** 消费后余额 */
    @Schema(description = "消费后余额")
    private BigDecimal balance;

    /** 是否删除|0-否 1-是 */
    private String deleted;


}
